Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search channel UI labels #953

Merged
merged 4 commits into from
Apr 24, 2023
Merged

Conversation

ZakarFin
Copy link
Member

@ZakarFin ZakarFin commented Apr 21, 2023

  • Adds info about autocomplete support for search channel options.
  • Adds support for configuring names and descriptions for search channels that have code adapters (WFS Search channels have names and descriptions in the database).

Configuration in oskari-ext.properties can have a non-localized value like "label" below or a localized one like "desc" below:

search.channel.OPENSTREETMAP_CHANNEL.label=OpenStreetMap
search.channel.OPENSTREETMAP_CHANNEL.desc.fi=Hae paikkoja ja/tai osoitteita
search.channel.OPENSTREETMAP_CHANNEL.desc.en=Search addresses and/or points of interest

image

Without config the name will default to channel id:
image

@ZakarFin ZakarFin changed the title Search labels Search channel labels Apr 21, 2023
@ZakarFin ZakarFin changed the title Search channel labels Search channel UI labels Apr 21, 2023
@ZakarFin ZakarFin added this to the 2.11.0 milestone Apr 24, 2023
@ZakarFin ZakarFin merged commit a90b659 into oskariorg:develop Apr 24, 2023
@ZakarFin ZakarFin deleted the search-labels branch April 24, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant